// pages/my/my.js
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    dingdan: [
      { urls: "../../image/m1.png", name: "待付款" },
      { urls: "../../image/m2.png", name: "待发货" },
      { urls: "../../image/m3.png", name: "待收货" },
      { urls: "../../image/m4.png", name: "已完成" },
    ],

  },
 
  dingdan: function(){
    app.navTo('../myorder/myorder')        
  },
  start_ads:function(){
    app.navTo('../ads/ads')
  },
  start_money: function () {
    app.navTo('../money/money')
  },
  paidan:function(){
    app.navTo('../paidan/paidan')    
  },
  start_fx: function () {
    app.navTo('../distributors/distributors')
  },
  fenxiaoimg: function () {
    app.navTo('../disorder/disorder')
  },
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  },
  onLoad: function () {
    var that=this;
    that.setData(wx.getStorageSync('userinfo'))
  },

})